package com.boyiis.sell.repository;

import com.boyiis.sell.model.entity.Order;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface OrderRepository extends JpaRepository<Order, String> {

    Page<Order> findByBuyerOpenid(String buyerOpenid, Pageable pageable);

}
